package com.tg.sieve_data.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tg.sieve_data.entity.TgIssue;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TgIssueMapper extends BaseMapper<TgIssue> {
    List<TgIssue> getAll(Page<TgIssue> page,@Param("tgIssue") TgIssue tgIssue);

    List<TgIssue> getByRegionId(Integer regionId);
}
